package com.railway.dao.rowMapper;

import java.sql.ResultSet;
import java.sql.SQLException;

import org.springframework.jdbc.core.RowMapper;

import com.railway.bean.User;

public class UserRowMapper implements RowMapper {

	@Override
	public Object mapRow(ResultSet res, int arg1) throws SQLException {
//		User user = new User();
//		user.setUserId(res.getInt("user_id"));
//		user.setUserName(res.getString("user_name"));
//		user.setUserPassword(res.getString("user_password"));
//		user.setUserPhone(res.getString("user_phone"));
//		user.setUserIdType(res.getInt("user_id_type"));
//		user.setUserIdnum(res.getString("user_id_num"));
//		user.setUserSex(res.getInt("user_sex"));
//		user.setUserEmail(res.getString("user_email"));
//		user.setPassengerType(res.getInt("passenger_type"));
//		user.setRegister_time(res.getDate("register_time"));
//		user.setIsdelete(res.getInt("isdelete"));
		return null;
	}

}
